import { createRouter, createWebHistory } from 'vue-router';
import Home from '../view/home.js';
import About from '../view/about.js';

const router = createRouter({
  history: createWebHistory(),
  routes: [
    { path: '/', component: Home },
    { path: '/about', component: About }
  ]
})

export default router